home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / util / misc / halt.lzh / halt / halt_pragmas.h < prev    next >
C/C++ Source or Header  |  1995-10-06  |  637b  |  22 lines

  1. /*
  2.    halt_pragmas.h --- halt library interface.
  3.  
  4.    (c) Copyright 1995 SHW Wabnitz
  5.    Written by Bernhard Fastenrath (fasten@shw.com)
  6.  
  7.    This file may be distributed under the terms
  8.    of the GNU General Public License.
  9. */
  10.  
  11. int Reboot(int flags);
  12. int Unmount(char *filesystem);
  13. int AddShutdownPort(struct MsgPort *prt);
  14. int RemShutdownPort(struct MsgPort *prt);
  15. int ShutdownStatus(struct ShutdownMessage *smsg);
  16.  
  17. #pragma libcall HaltBase Reboot 1E 101
  18. #pragma libcall HaltBase Unmount 24 101
  19. #pragma libcall HaltBase AddShutdownPort 2A 101
  20. #pragma libcall HaltBase RemShutdownPort 30 101
  21. #pragma libcall HaltBase ShutdownStatus 36 101
  22.